package com.yang.controller;

import com.yang.common.ResponseResult;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/student")
@Slf4j
@Api(tags = "学生信息相关API")
public class StudentController {

    @GetMapping("/test")
    public ResponseResult test() {
        log.info("方法执行了");
        return ResponseResult.successResult("Hello World");
    }

}
